package com.sakura.mall.coupon.memberPrice.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.memberPrice.domain.entity.MemberPriceEntity;
import com.sakura.mall.coupon.memberPrice.domain.request.AddMemberPriceRequest;
import com.sakura.mall.coupon.memberPrice.domain.request.UpdateMemberPriceRequest;
import com.sakura.mall.coupon.memberPrice.domain.request.MemberPricePageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.memberPrice.domain.vo.MemberPriceVo;

/**
 * 商品会员价格 service
 *
 * @author sakura
 */
public interface MemberPriceService extends IService<MemberPriceEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberPriceVo> queryPage(MemberPricePageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberPriceRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberPriceRequest request);
}
